package com.wzq.permission.client.model.admin;

import com.wzq.permission.client.model.BaseModel;
/**
 * 数据权限实体
 * @author Administrator
 *
 */
public class DataPermissionModel extends BaseModel{
	
	private Long dataPermissionId;//数据权限ID
	private Long applicationId;//系统ID
	private String dataPermissionName;//数据权限名称
	private String dataPermissionDesc;//数据权限描述
	private String rangeType;//范围类型     1-全国      2-省  3-市     4-区    5-小区
	private String dataValue;//数据权限值
	private java.util.Date createTime;// 创建时间
	private java.util.Date updateTime;// 修改时间
	private String createUser;//创建人
	private String updateUser;//修改人
	
	private String dataNameValue; //范围名称和对应的编码
	public Long getDataPermissionId() {
		return dataPermissionId;
	}
	public void setDataPermissionId(Long dataPermissionId) {
		this.dataPermissionId = dataPermissionId;
	}
	public Long getApplicationId() {
		return applicationId;
	}
	public void setApplicationId(Long applicationId) {
		this.applicationId = applicationId;
	}
	public String getDataPermissionName() {
		return dataPermissionName;
	}
	public void setDataPermissionName(String dataPermissionName) {
		this.dataPermissionName = dataPermissionName;
	}
	public String getDataPermissionDesc() {
		return dataPermissionDesc;
	}
	public void setDataPermissionDesc(String dataPermissionDesc) {
		this.dataPermissionDesc = dataPermissionDesc;
	}
	public String getRangeType() {
		return rangeType;
	}
	public void setRangeType(String rangeType) {
		this.rangeType = rangeType;
	}
	public String getDataValue() {
		return dataValue;
	}
	public void setDataValue(String dataValue) {
		this.dataValue = dataValue;
	}
	public java.util.Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}
	public java.util.Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	@Override
	public String toString() {
		return "DataPerissionModel [dataPermissionId=" + dataPermissionId + ", applicationId=" + applicationId
				+ ", dataPermissionName=" + dataPermissionName + ", dataPermissionDesc=" + dataPermissionDesc
				+ ", rangeType=" + rangeType + ", dataValue=" + dataValue + ", createTime=" + createTime
				+ ", updateTime=" + updateTime + ", createUser=" + createUser + ", updateUser=" + updateUser + "]";
	}
	public String getDataNameValue() {
		return dataNameValue;
	}
	public void setDataNameValue(String dataNameValue) {
		this.dataNameValue = dataNameValue;
	}
	
	

}
